<!-- $Id: category_info.htm 16752 2009-10-20 09:59:38Z wangleisvn $ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>一键还原数据</title>
<meta name="robots" content="noindex, nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{asset('admin/Styles/general.css')}}" rel="stylesheet" type="text/css" />
<link href="{{asset('admin/Styles/main.css')}}" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/jquery.min.js"></script>
<script>
    $().ready(function(){
        $('input[name="all_bak"]').bind('click',function(){
            if(!confirm('真的要还原数据吗?')){
                return false;
            }
            var $url = "/manager/bak/gostAll";
            var $data = {
                '_token':"{{csrf_token()}}"
            };
            $.post($url,$data,function($msg){
                if($msg.status==0){
                    alert($msg.msg);
                }else if($msg.status==1){
                    alert($msg.msg);
                }
            },'json');
        });
    });
</script>
</head>
<body>
<h1>
    <span id="search_id" class="action-span1"> - 数据库备份还原系统 </span>
    <div style="clear:both"></div>
</h1>
<div class="">
        <table width="" id="">
            <tr>
                <td class="label"></td>
                <td>
                   <h1>数据库备份还原系统</h1>
                   <h1><a href="javascript:void(0)" style="color:red;font-weight:bold;">一键还原数据</a></h1>
                   <input name="all_bak" type="button" value="开始还原"/>
                </td>
            </tr>
            <tr>
        </table>
</div>
<div id="footer">
</div>
</body>
</html>